/**
 */
package js.backbone;

import js.GlobalObject;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Model</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link js.backbone.Model#getUrlRoot <em>Url Root</em>}</li>
 *   <li>{@link js.backbone.Model#getAttributes <em>Attributes</em>}</li>
 *   <li>{@link js.backbone.Model#getAssociations <em>Associations</em>}</li>
 *   <li>{@link js.backbone.Model#getCollection <em>Collection</em>}</li>
 * </ul>
 * </p>
 *
 * @see js.backbone.BackbonePackage#getModel()
 * @model
 * @generated
 */
public interface Model extends GlobalObject {
	/**
	 * Returns the value of the '<em><b>Url Root</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Url Root</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Url Root</em>' attribute.
	 * @see #setUrlRoot(String)
	 * @see js.backbone.BackbonePackage#getModel_UrlRoot()
	 * @model required="true"
	 * @generated
	 */
	String getUrlRoot();

	/**
	 * Sets the value of the '{@link js.backbone.Model#getUrlRoot <em>Url Root</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Url Root</em>' attribute.
	 * @see #getUrlRoot()
	 * @generated
	 */
	void setUrlRoot(String value);

	/**
	 * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
	 * The list contents are of type {@link js.backbone.Attribute}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Attributes</em>' containment reference list.
	 * @see js.backbone.BackbonePackage#getModel_Attributes()
	 * @model containment="true"
	 * @generated
	 */
	EList<Attribute> getAttributes();

	/**
	 * Returns the value of the '<em><b>Associations</b></em>' containment reference list.
	 * The list contents are of type {@link js.backbone.Association}.
	 * It is bidirectional and its opposite is '{@link js.backbone.Association#getOwner <em>Owner</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Associations</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Associations</em>' containment reference list.
	 * @see js.backbone.BackbonePackage#getModel_Associations()
	 * @see js.backbone.Association#getOwner
	 * @model opposite="owner" containment="true"
	 * @generated
	 */
	EList<Association> getAssociations();

	/**
	 * Returns the value of the '<em><b>Collection</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link js.backbone.Collections#getModel <em>Model</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Collection</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Collection</em>' reference.
	 * @see #setCollection(Collections)
	 * @see js.backbone.BackbonePackage#getModel_Collection()
	 * @see js.backbone.Collections#getModel
	 * @model opposite="model" required="true"
	 * @generated
	 */
	Collections getCollection();

	/**
	 * Sets the value of the '{@link js.backbone.Model#getCollection <em>Collection</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Collection</em>' reference.
	 * @see #getCollection()
	 * @generated
	 */
	void setCollection(Collections value);

} // Model
